home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960425-19960715 / 000251_news@columbia.edu _Mon Jun 17 10:34:51 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id KAA13177 for <kermit.misc@watsun>; Mon, 17 Jun 1996 10:34:45 -0400 (EDT)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.5/8.7.3) id KAA11501 for kermit.misc@watsun; Mon, 17 Jun 1996 10:34:30 -0400 (EDT)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: file transfer recovery script
  8. Date: 17 Jun 1996 14:34:11 GMT
  9. Organization: Columbia University
  10. Lines: 31
  11. Message-ID: <4q3qd3$b75@apakabar.cc.columbia.edu>
  12. References: <31C004A5.41C6@ln.cit.alcatel.fr> <4pp9vt$4ls@apakabar.cc.columbia.edu> <31C50A0D.41C6@ln.cit.alcatel.fr>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <31C50A0D.41C6@ln.cit.alcatel.fr>,
  16. PONTAILLER Laurent  <laurent.pontailler@ln.cit.alcatel.fr> wrote:
  17. : In writing the script I have another problem, when all the retries and
  18. : timeout failed because of a true anomaly in the physical link I can't
  19. : manage to restart the protocol. Ther is always some caracters in the
  20. : pipe and I can't manage to login.
  21. :     :LOOP
  22. :     echo echec du transfert
  23. :     echo nouvelle tentative dans 10 minutes
  24. :     sleep \%t
  25. :     clear
  26. :     echo le clear est fait
  27. :     ;
  28. :     :NOMSG
  29. :     ;
  30. :     input 30 login:                     ; attente du prompt unix
  31. : this sequence always fail in timeout on input
  32. : Is there something missing to be able to restart the transfert ?
  33. Maybe you should remove the CLEAR command.  If the login: prompt is
  34. already "in the pipe", the CLEAR command will discard it, and so the
  35. "input 30 login:" command will never find it.
  36.  
  37. Script-writing is not an exact science -- commands like PAUSE and
  38. CLEAR are sometimes needed for mysterious reasons, and sometimes they
  39. must not be there; trial-and-error replaces the scientific method here :-)
  40.  
  41. - Frank